/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package systole.domain.analysis.results;

import java.math.BigDecimal;

/**
 *
 * @author jmj
 */
public class ParameterT extends Parameter {

    /**
     * 
     */
    private static final long serialVersionUID = -7912797030928770421L;

    /**
     *
     */
    public ParameterT() {
        this.setDescription(ParametersKind.T);
    }

    /**
     * Calcula en base a sus parametros el valor contenido
     *
     * @return paramter value
     */
    public BigDecimal calculateParamValue() {
        return (this.getEndPos().getxCoord().subtract(this.getInitPos().getxCoord()));
    }
}
